import { request } from './request';

//首页的接口封装

export function getHomeMultidata() {
    return request({
        url: '/home/multidata'
    })
}

export function getHomeGoods(type, page) {
    return request({
        url: `/home/data`,
        params: {
            type,
            page
        }
    })
}